var express = require('express');
var router = express.Router();

/* GET users listing. */
router.get('/', function(req, res, next) {
  res.send('respond with a resource');
});

// 检查登录状态
router.get('/check/loggedIn', (req, res, next) => {
  res.send({
    code: 1,
    data: true
  })
})

module.exports = router;
